import {getApi} from '../programs/request'

//获取热点
export async function hotGetList() {
    try {
      const res = await getApi('news');
      return res;
      
    } catch (error) {
      console.error(error); // 处理错误
      return "error-0000"
    }
  }